package com.yxhl.zoume.data.http.rest.repositoryimpl;

import com.yxhl.zoume.data.http.repository.appraisal.AppraisalRepository;
import com.yxhl.zoume.data.http.rest.param.appraisal.AppraisalLabelParam;
import com.yxhl.zoume.data.http.rest.param.appraisal.AppraisalParam;
import com.yxhl.zoume.data.http.rest.param.appraisal.AppraisalResultParam;
import com.yxhl.zoume.data.http.rest.repositoryimpl.base.BaseDataRepository;
import com.yxhl.zoume.data.http.rest.response.appraisal.AppraisalLabelResponse;
import com.yxhl.zoume.data.http.rest.response.appraisal.AppraisalResponse;
import com.yxhl.zoume.data.http.rest.response.appraisal.AppraisalResultResponse;

import javax.inject.Inject;

import rx.Observable;

/**
 * Created by vhawk on 16/9/18.
 */

public class AppraisalDataRepository extends BaseDataRepository implements AppraisalRepository {

    @Inject
    public AppraisalDataRepository() {
    }

    @Override
    public Observable<AppraisalResponse> appraiseDriver(AppraisalParam param) {
        return mZouMeService.appraiseDriver(param);
    }

    @Override
    public Observable<AppraisalLabelResponse> fetchAppraisalLabel(AppraisalLabelParam param) {
        return mZouMeService.fetchAppraisalLabel(param);
    }

    @Override
    public Observable<AppraisalResultResponse> fetchAppraisalResult(AppraisalResultParam param) {
        return mZouMeService.fetchAppraisalResult(param);
    }
}
